// This file was decompiled using VCSCM.ini published on 2021-01-30
{$CLEO .cs}

03A4: script_name 'WATERS' 

0006: 0@ = 0 // @ = int

:WATERS_10
0001: wait 10 ms 



00D6: if and
80E0:   not player $PLAYER_CHAR in_any_car
04AD:   actor $PLAYER_ACTOR in_water 
0039:   0@ == 0 // @ == int
then
03E5: text_box 'water1'  
0006: 0@ = 1 // @ = int
end



00D6: if and
80E0:   not player $PLAYER_CHAR in_any_car
04AD:   actor $PLAYER_ACTOR in_water 
00E1:   player 0 pressed_button 4
004D: jump_if_false @WATERS_10   
0001: wait 500 ms 
0006: 0@ = 0 // @ = int
0054: store_player $PLAYER_CHAR position_to 1@ 2@ 3@ 
02C0: set 4@ 5@ 6@ to_ped_path_coords_closest_to 1@ 2@ 3@ 
016A: fade 0 1000 ms 
0002: jump @WATERS_98 

:WATERS_98
0001: wait 1000 ms 
00A1: put_actor $PLAYER_ACTOR at 4@ 5@ 6@ 
0001: wait 500 ms 
016A: fade 1 1000 ms 
0001: wait 500 ms 
0002: jump @WATERS_10 
